home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre3.z / postgre3 / src / lib / H / commands / vacuum.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  1.2 KB  |  55 lines

  1. /*
  2.  *  vacuum.h -- header file for postgres vacuum cleaner
  3.  *
  4.  *    $Header: /private/postgres/src/lib/H/commands/RCS/vacuum.h,v 1.3 1991/05/05 21:45:13 mao Exp $
  5.  */
  6.  
  7. #ifndef _VACUUM_H_
  8. #define _VACUUM_H_
  9.  
  10. typedef struct VAttListData {
  11.     int            val_dummy;
  12.     struct VAttListData    *val_next;
  13. } VAttListData;
  14.  
  15. typedef VAttListData    *VAttList;
  16.  
  17. typedef struct VTidListData {
  18.     ItemPointerData    vtl_tid;
  19.     struct VTidListData    *vtl_next;
  20. } VTidListData;
  21.  
  22. typedef VTidListData    *VTidList;
  23.  
  24. typedef struct VRelListData {
  25.     ObjectId        vrl_relid;
  26.     VAttList        vrl_attlist;
  27.     VTidList        vrl_tidlist;
  28.     int            vrl_ntups;
  29.     int            vrl_npages;
  30.     bool        vrl_hasindex;
  31.     struct VRelListData    *vrl_next;
  32. } VRelListData;
  33.  
  34. typedef VRelListData    *VRelList;
  35.  
  36. /* routines */
  37. extern void    _vc_init();
  38. extern void    _vc_shutdown();
  39. extern void    _vc_vacuum();
  40. extern VRelList    _vc_getrels();
  41. extern void    _vc_vacone();
  42. extern void    _vc_vacheap();
  43. extern void    _vc_vacindices();
  44. extern void    _vc_vaconeind();
  45. extern void    _vc_updstats();
  46. extern bool    _vc_ontidlist();
  47. extern void    _vc_reaptid();
  48. extern void    _vc_free();
  49. extern void    _vc_setpagelock();
  50. extern Relation    _vc_getarchrel();
  51. extern void    _vc_archive();
  52. extern bool    _vc_isarchrel();
  53.  
  54. #endif /* ndef _VACUUM_H_ */
  55.